package cn.szzsi.common.model;

import cn.szzsi.common.model.base.BaseBusinessPackage;
import com.jfinal.aop.Clear;

import java.util.List;

/**
 * 实体类-商户套餐
 */
@SuppressWarnings("serial")
public class BusinessPackage extends BaseBusinessPackage<BusinessPackage> {
    public static final BusinessPackage dao = new BusinessPackage().dao();

    /**
     * 获取商户套餐
     */
    @Clear
    public List<BusinessPackage> getAllBusinessPackage() {
        List<BusinessPackage> businessPackages = BusinessPackage.dao.find("select * from mall_business_package");
        return businessPackages;
    }


}
